﻿@model RomaClient.Models.ProfileModel
       
@{
    ViewBag.Title = "Index";
}

<h2>Profile</h2>

<legend>
<table>
    <tr>
        <th>
            email
        </th>
        <th>
            name
        </th>
        <th></th>
    </tr>

@foreach (var item in Model.Friends) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.email)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.name)
        </td>
        <td>
            @Html.ActionLink("Edit", "Edit", new { id=item.id }) |
            @Html.ActionLink("Details", "Details", new { id=item.id }) |
            @Html.ActionLink("Delete", "Delete", new { id=item.id })
        </td>
    </tr>
}
</table>
</legend>
<legend>
<table>
    <tr>
        <th>
            modifiedDate
        </th>
        <th>
            timeupdated
        </th>
        <th>
            timeupdatedSpecified
        </th>
        <th>
            update
        </th>
        <th>
            updater
        </th>
        <th>
            updater_id
        </th>
        <th></th>
    </tr>

@foreach (var item in Model.FriendsUpdates) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.modifiedDate)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.timeupdated)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.timeupdatedSpecified)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.update)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.updater)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.updater_id)
        </td>
        <td>
            @Html.ActionLink("Edit", "Edit", new { /* id=item.PrimaryKey */ }) |
            @Html.ActionLink("Details", "Details", new { /* id=item.PrimaryKey */ }) |
            @Html.ActionLink("Delete", "Delete", new { /* id=item.PrimaryKey */ })
        </td>
    </tr>
}

</table>
</legend>